<?php
$con= mysql_connect("mysql.server.domain:3306","db_name","db-password");
if (!$con)
 {
  die('Unable to connect: ' . mysql_error());
 }

mysql_select_db("phpstatus", $con);
?>
